//
// Created on 2024/3/18.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "OhosVideoPlayerHandler.h"
#include "napi/video/VideoPlayerInfo.h"
VideoPlayerHandler *VideoPlayerHandler::instance = nullptr;
OhosVideoPlayerHandler::OhosVideoPlayerHandler()
{
    instance = this;
}

void OhosVideoPlayerHandler::onPreparedEvent(int32_t id, VideoPlayerInfo *info) {
    // TODO 
}

void OhosVideoPlayerHandler::onEndedEvent(int32_t id, VideoPlayerInfo *info) {
   // TODO 
}

void OhosVideoPlayerHandler::onFailedEvent(int32_t id, VideoPlayerInfo *info) {
    // TODO 
}